class Qa < ActiveRecord::Base
     validates :question, :length => {:within => 3..150}
     validates :answer, :length => {:within => 3..2000}
     validates_inclusion_of :status, :in => %w[banned approved]
     validates_inclusion_of :position, :in => %w[qa contact]
end
